Linux USB HID Device


Posted by Jerome on 2021-11-30

USB Descriptor

  1. Device Descriptor
  2. Configuration Descriptor
  3. Interface Descriptor -> HID Descriptor -> Report and Physical Descriptor
  4. Endpoint Descriptor

Report Descriptor

  1. Data format

    Usage Page
    Usage
    Collection
    ...
    End Collection
    
  2. Report type
    Input report: For standard defined data.
    Output report: Not suggest to use, some old OS systems do not support this report type.
    Feature report: For self-defined data.


#linux #usb #hid #Report Descriptor







Related Posts

CSS-[網頁設計準則]-#1. Typography 文字排版

CSS-[網頁設計準則]-#1. Typography 文字排版

How to compare a fixed date stored in an object with the current date in JavaScript?

How to compare a fixed date stored in an object with the current date in JavaScript?

每日心得筆記 2020-07-03(五)

每日心得筆記 2020-07-03(五)


Comments